import request from '@/utils/request'

// 查询小用户冻结数据列表
export function listTerminalFreezeXb(query) {
  return request({
    url: '/swla2/terminalFreezeXb/list',
    method: 'get',
    params: query
  })
}

// 查询小用户冻结数据详细
export function getTerminalFreezeXb(tenantId) {
  return request({
    url: '/swla2/terminalFreezeXb/' + tenantId,
    method: 'get'
  })
}

// 新增小用户冻结数据
export function addTerminalFreezeXb(data) {
  return request({
    url: '/swla2/terminalFreezeXb',
    method: 'post',
    data: data
  })
}

// 修改小用户冻结数据
export function updateTerminalFreezeXb(data) {
  return request({
    url: '/swla2/terminalFreezeXb',
    method: 'put',
    data: data
  })
}

// 删除小用户冻结数据
export function delTerminalFreezeXb(tenantId) {
  return request({
    url: '/swla2/terminalFreezeXb/' + tenantId,
    method: 'delete'
  })
}
